-
Couldn't load subscription status.
- Fork 48
WiX: begin the extraction of the legacy SDK #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This moves the legacy RTL packaging into a subdirectory as preparation for resection.
| <OutputName>windows</OutputName> | ||
|
|
||
| <SwiftShimsPath>$(ImageRoot)\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\shims</SwiftShimsPath> | ||
| <ExperimentalSwiftShimsPath>$(ImageRoot)\Platforms\Windows.platform\Developer\SDKs\WindowsExperimental.sdk\usr\lib\swift\shims</ExperimentalSwiftShimsPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I see the incorrect indentation. This is indented the same as SwiftShimsPath.
This adjusts the packaging to allow exclusion of the legacy SDK. This is a preparatory step towards removing the legacy SDK from the build and the packaging.
Adjust the package authoring to use separate paths as we prepare to eject the legacy SDK.
Adjust the feature set to extract platform support from the SDK content. This allows us to have the platform specific libraries (XCTest, Testing) isolated from the SDK content. It also allows us to temporarily share the features across the legacy and experimental SDKs.
Package up the static library dependencies that are required for FoundationNetworking, FoundationXML. These are packaged with the experimental SDK as they are required only for static linking.
This pull request introduces conditional support for including a legacy Windows SDK in the build and installer process. The main change is the addition of the
IncludeLegacySDKproperty, which controls whether legacy SDK components are included. The build scripts, installer projects, and configuration files have been updated to selectively include legacy or experimental SDK files and components based on this property.Conditional legacy SDK support
IncludeLegacySDKproperty toDirectory.Build.propsand passed it through build constants to enable conditional inclusion of legacy SDK components. [1] [2]installer.wixprojandwindows.wixprojto conditionally add references to legacy SDK project files and components whenIncludeLegacySDKis set to true. [1] [2]installer.wxsto select between legacy and shared MSI packages depending on the legacy SDK flag. [1] [2]Installer and component configuration changes
windows.wxsto define SDK roots, directory structures, and component groups for legacy SDK files, ensuring only the relevant files are included based on the build configuration. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]These changes make it possible to build and install either the legacy or experimental Windows SDK by simply setting the
IncludeLegacySDKproperty, improving flexibility and easing the transition to the new SDK.